public class GameObject extends Physics
{
  Animation anim;
  public boolean animated = true;
  public GameObject(PApplet parent, boolean animated)
  {
    super(parent);
    this.animated = animated;
    if(animated == true)
      anim = new Animation(parent, "s");
    
  }
  public void Draw()
  {
    pushMatrix();
    noStroke();
    bStroke = false;
    if(animated == true)
      anim.Draw();

    popMatrix();
    this.Update();
  }
}

